import { ref } from "vue";
import type { AvueFormOption } from "@smallwei/avue";

export default function () {
  const option: AvueFormOption = {
    menuBtn: false,
    labelWidth: 110,
    column: [
      {
        prop: "moduleName",
        label: "模块名称",
        labelTip: "大驼峰",
      },
      {
        prop: "superDir",
        label: "上级目录",
      },
      {
        prop: "tableName",
        label: "表名",
      },
      {
        type: "textarea",
        prop: "fields",
        label: "字段列表",
        labelTip: "使用逗号分隔",
      },
    ],
  };
  return ref(option);
}
